﻿using System;
using Common.Object;

namespace CoreApi.Meta
{
    public class BloodPressureMeasureData
    {
        public int Sbp { get; set; }
        public int Dbp { get; set; }
        public string Attribute { get; set; }
        public string BrandId { get; set; }
        public string DeviceSN { get; set; }
        public string DataNumber { get; set; }
        public DateTime MeasureTime { get; set; }
        public BloodPressureMeasureData()
        {
            this.BrandId = string.Empty;
            this.DeviceSN = string.Empty;
            this.DataNumber = string.Empty;
            this.MeasureTime = DateTime.Now;
            this.Sbp = 0;
            this.Dbp = 0;
            this.Attribute = string.Empty;
        }

        public override string ToString()
        {
            return this.ToJson();
        }

    }
}
